<!-- 首页头部 -->
<template>
  <div class="header-box">
    <div class="header-content">
      <div class="header">
        <p>好货商城</p>
      </div>
      <div class="items">
        <div class="icon-box">
          <span class="iconfont icon-leimupinleifenleileibie"></span>
          <i>分类</i>
        </div>
        <input type="text" placeholder="自热火锅" />
      </div>
    </div>
    <div class="filler"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  methods: {},
};
</script>
<style lang="less" scoped>
.header-content {
  position: fixed;
  width: 100%;
  background: rgb(228, 31, 25);
  z-index: 999;
  .header {
    color: #fff;
    font-weight: 500;
    line-height: 0.3rem;
    height: 0.44rem;
    padding: 7px 3px;
    p {
      font-size: 0.16rem;
    }
  }
  .items {
    height: 0.5rem;
    padding: 0 15px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .icon-box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;
      margin-right: 0.11rem;
      .icon-leimupinleifenleileibie {
        color: #fff;
      }
      i {
        font-size: 0.12rem;
        white-space: nowrap;
      }
    }
    input {
      padding: 0 20px 0 15px;
      width: 100%;
      height: 0.3rem;
      border-radius: 0.15rem;
      border: 0;
    }
  }
}

.filler {
  height: 0.44rem;
  width: 100%;
}
</style>
